package com.security.hikapp.network.response;

import androidx.annotation.Nullable;

import com.security.hikapp.network.exception.ApiException;

public interface ICallback<T> {

    void onSuccess(T data);

//    void onFailure(ApiException e);

    void onFailure(ApiException e, @Nullable T t);
}
